#pragma once
#include "FioriMenuTree.h"
#include <memory>
using std::unique_ptr;

class FioriMenuHolder
{
public:
	FioriMenuHolder(void);
	~FioriMenuHolder(void);

	static FioriMenuHolder& instance();
	/*
	 * gets the main menu
	 */
	FioriMenuTree& getMainMenu();
	/*
	 * gets the drag & related menu
	 */
	FioriMenuTree& getDNRMenu();

private:
	static unique_ptr<FioriMenuHolder> s_instance;
	FioriMenuTree m_main;
	FioriMenuTree m_dnr;
};

